package com.wsz.system.service;

import com.wsz.system.pojo.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wsz.vo.AssginMenuVo;
import com.wsz.vo.RouterVo;

import java.util.List;

/**
* @author wangs
* @description 针对表【sys_menu(菜单表)】的数据库操作Service
* @createDate 2022-11-09 16:47:42
*/
public interface MenuService extends IService<Menu> {

    List<Menu> findsNodes();

    boolean removeMenuById(String id);

    List<Menu> findMenuByRoleId(String roleId);

    void doAssign(AssginMenuVo assginMenuVo);

    List<RouterVo> getUserMenuList(String userId);

    List<String> getUserButtonList(String id);
}
